package com.deppon.vts.data.model;

import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TVmVehicle entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_VM_VEHICLE", schema = "VEHICLE")
public class TVmVehicle implements java.io.Serializable {

	// Fields

	private String id;
	private Timestamp certdate;
	private String vehicledriverid;
	private String vehicleteamid;
	private String description;
	private String subcompanyid;
	private String createdeptid;
	private String status;
	private Timestamp createdate;
	private String createuser;
	private Timestamp modifydate;
	private String modifyuser;
	private BigDecimal logicstate;
	private String billnumber;
	private String cfvehiclebrandid;
	private String model;
	private String vehicleNo;
	private BigDecimal vehicleLength;
	private BigDecimal deadLoad;
	private BigDecimal selfVolume;
	private String vehicleType;
	private String producingArea;
	private String isgranted;
	private Timestamp effectdate;
	private String contactphone;
	private String usetype;
	private BigDecimal isattached;
	private BigDecimal isovertwo;
	private BigDecimal isalreadygps;
	private BigDecimal isallrisks;
	private String customernumber;
	private Timestamp lastmodifydate;
	private String lastmodifyuser;

	// Constructors

	/** default constructor */
	public TVmVehicle() {
	}

	/** minimal constructor */
	public TVmVehicle(String id) {
		this.id = id;
	}

	/** full constructor */
	public TVmVehicle(String id, Timestamp certdate, String vehicledriverid,
			String vehicleteamid, String description, String subcompanyid,
			String createdeptid, String status, Timestamp createdate,
			String createuser, Timestamp modifydate, String modifyuser,
			BigDecimal logicstate, String billnumber, String cfvehiclebrandid,
			String model, String vehicleNo, BigDecimal vehicleLength,
			BigDecimal deadLoad, BigDecimal selfVolume, String vehicleType,
			String producingArea, String isgranted, Timestamp effectdate,
			String contactphone, String usetype, BigDecimal isattached,
			BigDecimal isovertwo, BigDecimal isalreadygps,
			BigDecimal isallrisks, String customernumber,
			Timestamp lastmodifydate, String lastmodifyuser) {
		this.id = id;
		this.certdate = certdate;
		this.vehicledriverid = vehicledriverid;
		this.vehicleteamid = vehicleteamid;
		this.description = description;
		this.subcompanyid = subcompanyid;
		this.createdeptid = createdeptid;
		this.status = status;
		this.createdate = createdate;
		this.createuser = createuser;
		this.modifydate = modifydate;
		this.modifyuser = modifyuser;
		this.logicstate = logicstate;
		this.billnumber = billnumber;
		this.cfvehiclebrandid = cfvehiclebrandid;
		this.model = model;
		this.vehicleNo = vehicleNo;
		this.vehicleLength = vehicleLength;
		this.deadLoad = deadLoad;
		this.selfVolume = selfVolume;
		this.vehicleType = vehicleType;
		this.producingArea = producingArea;
		this.isgranted = isgranted;
		this.effectdate = effectdate;
		this.contactphone = contactphone;
		this.usetype = usetype;
		this.isattached = isattached;
		this.isovertwo = isovertwo;
		this.isalreadygps = isalreadygps;
		this.isallrisks = isallrisks;
		this.customernumber = customernumber;
		this.lastmodifydate = lastmodifydate;
		this.lastmodifyuser = lastmodifyuser;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 44)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "CERTDATE", length = 11)
	public Timestamp getCertdate() {
		return this.certdate;
	}

	public void setCertdate(Timestamp certdate) {
		this.certdate = certdate;
	}

	@Column(name = "VEHICLEDRIVERID", length = 44)
	public String getVehicledriverid() {
		return this.vehicledriverid;
	}

	public void setVehicledriverid(String vehicledriverid) {
		this.vehicledriverid = vehicledriverid;
	}

	@Column(name = "VEHICLETEAMID", length = 44)
	public String getVehicleteamid() {
		return this.vehicleteamid;
	}

	public void setVehicleteamid(String vehicleteamid) {
		this.vehicleteamid = vehicleteamid;
	}

	@Column(name = "DESCRIPTION")
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "SUBCOMPANYID", length = 44)
	public String getSubcompanyid() {
		return this.subcompanyid;
	}

	public void setSubcompanyid(String subcompanyid) {
		this.subcompanyid = subcompanyid;
	}

	@Column(name = "CREATEDEPTID", length = 44)
	public String getCreatedeptid() {
		return this.createdeptid;
	}

	public void setCreatedeptid(String createdeptid) {
		this.createdeptid = createdeptid;
	}

	@Column(name = "STATUS", length = 10)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "CREATEDATE", length = 11)
	public Timestamp getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

	@Column(name = "CREATEUSER", length = 44)
	public String getCreateuser() {
		return this.createuser;
	}

	public void setCreateuser(String createuser) {
		this.createuser = createuser;
	}

	@Column(name = "MODIFYDATE", length = 11)
	public Timestamp getModifydate() {
		return this.modifydate;
	}

	public void setModifydate(Timestamp modifydate) {
		this.modifydate = modifydate;
	}

	@Column(name = "MODIFYUSER", length = 100)
	public String getModifyuser() {
		return this.modifyuser;
	}

	public void setModifyuser(String modifyuser) {
		this.modifyuser = modifyuser;
	}

	@Column(name = "LOGICSTATE", precision = 22, scale = 0)
	public BigDecimal getLogicstate() {
		return this.logicstate;
	}

	public void setLogicstate(BigDecimal logicstate) {
		this.logicstate = logicstate;
	}

	@Column(name = "BILLNUMBER", length = 50)
	public String getBillnumber() {
		return this.billnumber;
	}

	public void setBillnumber(String billnumber) {
		this.billnumber = billnumber;
	}

	@Column(name = "CFVEHICLEBRANDID", length = 44)
	public String getCfvehiclebrandid() {
		return this.cfvehiclebrandid;
	}

	public void setCfvehiclebrandid(String cfvehiclebrandid) {
		this.cfvehiclebrandid = cfvehiclebrandid;
	}

	@Column(name = "MODEL", length = 10)
	public String getModel() {
		return this.model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	@Column(name = "VEHICLE_NO", length = 50)
	public String getVehicleNo() {
		return this.vehicleNo;
	}

	public void setVehicleNo(String vehicleNo) {
		this.vehicleNo = vehicleNo;
	}

	@Column(name = "VEHICLE_LENGTH", precision = 10)
	public BigDecimal getVehicleLength() {
		return this.vehicleLength;
	}

	public void setVehicleLength(BigDecimal vehicleLength) {
		this.vehicleLength = vehicleLength;
	}

	@Column(name = "DEAD_LOAD", precision = 10)
	public BigDecimal getDeadLoad() {
		return this.deadLoad;
	}

	public void setDeadLoad(BigDecimal deadLoad) {
		this.deadLoad = deadLoad;
	}

	@Column(name = "SELF_VOLUME", precision = 10)
	public BigDecimal getSelfVolume() {
		return this.selfVolume;
	}

	public void setSelfVolume(BigDecimal selfVolume) {
		this.selfVolume = selfVolume;
	}

	@Column(name = "VEHICLE_TYPE", length = 10)
	public String getVehicleType() {
		return this.vehicleType;
	}

	public void setVehicleType(String vehicleType) {
		this.vehicleType = vehicleType;
	}

	@Column(name = "PRODUCING_AREA", length = 10)
	public String getProducingArea() {
		return this.producingArea;
	}

	public void setProducingArea(String producingArea) {
		this.producingArea = producingArea;
	}

	@Column(name = "ISGRANTED", length = 10)
	public String getIsgranted() {
		return this.isgranted;
	}

	public void setIsgranted(String isgranted) {
		this.isgranted = isgranted;
	}

	@Column(name = "EFFECTDATE", length = 11)
	public Timestamp getEffectdate() {
		return this.effectdate;
	}

	public void setEffectdate(Timestamp effectdate) {
		this.effectdate = effectdate;
	}

	@Column(name = "CONTACTPHONE", length = 50)
	public String getContactphone() {
		return this.contactphone;
	}

	public void setContactphone(String contactphone) {
		this.contactphone = contactphone;
	}

	@Column(name = "USETYPE", length = 12)
	public String getUsetype() {
		return this.usetype;
	}

	public void setUsetype(String usetype) {
		this.usetype = usetype;
	}

	@Column(name = "ISATTACHED", precision = 22, scale = 0)
	public BigDecimal getIsattached() {
		return this.isattached;
	}

	public void setIsattached(BigDecimal isattached) {
		this.isattached = isattached;
	}

	@Column(name = "ISOVERTWO", precision = 22, scale = 0)
	public BigDecimal getIsovertwo() {
		return this.isovertwo;
	}

	public void setIsovertwo(BigDecimal isovertwo) {
		this.isovertwo = isovertwo;
	}

	@Column(name = "ISALREADYGPS", precision = 22, scale = 0)
	public BigDecimal getIsalreadygps() {
		return this.isalreadygps;
	}

	public void setIsalreadygps(BigDecimal isalreadygps) {
		this.isalreadygps = isalreadygps;
	}

	@Column(name = "ISALLRISKS", precision = 22, scale = 0)
	public BigDecimal getIsallrisks() {
		return this.isallrisks;
	}

	public void setIsallrisks(BigDecimal isallrisks) {
		this.isallrisks = isallrisks;
	}

	@Column(name = "CUSTOMERNUMBER", length = 50)
	public String getCustomernumber() {
		return this.customernumber;
	}

	public void setCustomernumber(String customernumber) {
		this.customernumber = customernumber;
	}

	@Column(name = "LASTMODIFYDATE", length = 11)
	public Timestamp getLastmodifydate() {
		return this.lastmodifydate;
	}

	public void setLastmodifydate(Timestamp lastmodifydate) {
		this.lastmodifydate = lastmodifydate;
	}

	@Column(name = "LASTMODIFYUSER", length = 44)
	public String getLastmodifyuser() {
		return this.lastmodifyuser;
	}

	public void setLastmodifyuser(String lastmodifyuser) {
		this.lastmodifyuser = lastmodifyuser;
	}

}